package com.txc.cloud.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.txc.common.global.model.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 权限表
 * </p>
 *
 * @author TXC
 * @since 2022-08-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_permission")
public class PermissionEntity extends BaseEntity<PermissionEntity> {
    /**
     * 权限模块名称
     */
    private String name;

    /**
     * 权限编码
     */
    private String code;

    /**
     * 功能地址
     */
    private String methodUrl;

    /**
     * 请求方法
     */
    private String method;

    /**
     * 父级id
     */
    private String parentCode;

    /**
     * 模块
     */
    private String module;
}
